
/*******************************************************
*  Team name: FTPMP
*  Class involve: SA
*  Version: 1.0 
*  Author: Ada Ko
*  History of modification: 
*  Version 1.0, Fred
*  - add SA Consructor, getSAname, getSAReward, getSAID, getSAinfo
*******************************************************/


package entity;
import java.awt.*;
import javax.swing.*;


public class SA extends Card { 
	private int SAID;
	private int reward; 
	private int count=0;
	private String name; 
	private String info;
	
	public SA() {
		this.SAID=count;
		count++;
		this.reward=0;
	}
	
	public SA(String name, int reward, String info) {
		this.SAID=count;
		count++;
		this.name=name;
		this.reward=reward;
		this.info=info;
	}
	
	//GET Function
	public String getSAname() {
		return this.name;
	}

	public int getSAReward() {
		return this.reward;
	}
	
	public int getReward(int ans) {
		return this.reward;
	}
	
    public int getSAID() {
    	return this.SAID;
    }
    
    public String getSAinfo() {
    	return this.info;
    }
}  